/*
 * Copyright © 2024-2025 Wenze Wei
 *
 * This file is part of StadionOS.
 *
 * This Source Code Form is subject to the terms of the GNU General Public License, v. 2.0.
 * You can obtain a copy of the GPL at
 * https://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 */

#ifndef LIBS_VSPRINT_H
#define LIBS_VSPRINT_H

#include <stdarg.h>
#include <stddef.h>
#include <math.h>
#include <unistd.h>
#include <stdio.h>
#include <limits.h>
#include <stdint.h>
#include "string.h"
#include <ctype.h> 

#define ZEROPAD         1
#define SIGN            2
#define PLUS            4
#define SPACE           8
#define LEFT            16
#define SPECIAL         32
#define SMALL           64
#define MAX_BUFFER_SIZE 1024

int Svsprint(char *buf, const char *fmt, va_list args);

#endif //LIBS_VSPRINT_H
